feat(settings): company settings — legal organization identity (P0)#2010
Merged
Conversation
Adds a `company` SettingsManifest for the workspace's legal entity (distinct from `branding`'s public name/logo). Org-level (tenant scope), all keys optional for v1. Grouped Identity / Registered address / Contact: legal_name, registration_number, tax_id, address_line1/2, city, state, postal_code, country, phone, website, primary_contact_name/email. Benchmarked vs Salesforce "Company Information" + Stripe business profile. Feeds invoices, email footers (CAN-SPAM physical address), contracts, compliance exports. en + zh-CN translations + manifest test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📓 Docs Drift CheckThis PR changes 1 package(s): 5 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P0 base-settings, item 2 of 3. Adds a
companySettingsManifest for the workspace's legal entity identity — distinct frombranding(public-facing name/logo/theme).Keys (organization-level, all optional for v1)
Grouped Identity / Registered address / Contact:
legal_name,registration_number,tax_idaddress_line1,address_line2,city,state,postal_code,countryphone,website(url),primary_contact_name,primary_contact_email(email)Benchmarked against Salesforce "Company Information" and Stripe's business profile.
Why
Feeds invoices/receipts, email footers (CAN-SPAM requires a physical postal address), contracts, and compliance exports — the legal-entity data a platform needs but ObjectStack had nowhere to store.
Tests
company.manifest.test.ts— schema parse, namespace/scope/version, group structure, url/email/country-pattern specifier types, all-optional invariant.P0 progress
localization(feat(settings): localization settings — platform timezone/language/formats (ADR-0053 Phase 2) (#1928) #2006, merged). 2. this PRcompany. 3. ⬜security(next).🤖 Generated with Claude Code